package cn.hd01.util;

public enum DictionaryType {
	SYSTEM("系统配置", "system", "配置系统相关参数"),
	SERVANT_REBATE_RATE("服务老师", "servant", "服务老师佣金返点率"),
	DISTRIBUTOR_REBATE_RATE("推荐渠道商", "distributor", "推荐渠道商佣金返点率"),
	INTEGRATION_AMOUNT("积分抵扣金额(积分/元)", "integration", "积分抵扣金额(积分/元)"),
	FEE_RATE("费率", "fee_rate", "费率"),
	STAR_LEVEL("星级等级", "star_level", "星级等级");

	private String text;
	private String name;
	private String desc;

	private DictionaryType(String text, String name) {
		this.text = text;
		this.name = name;
	}

	private DictionaryType(String text, String name, String desc) {
		this(text, name);
		this.desc = desc;
	}

	public String getName() {
		return name;
	}

	public String getDesc() {
		return desc;
	}

	public String getText() {
		return text;
	}

	@Override
	public String toString() {
		return text;
	}

}
